'Declaration Public Overloads Shared Sub HighlightSubstring( _ ByVal graphics As Graphics, _ ByVal font As Font, _ ByVal stringFormat As StringFormat, _ ByVal foreBrush As Brush, _ ByVal bounds As Rectangle, _ ByVal text As String, _ ByVal highlightBrush As Brush, _ ByVal substringRanges As IList(Of CharacterRange) _ )
public static void HighlightSubstring( Graphics graphics, Font font, StringFormat stringFormat, Brush foreBrush, Rectangle bounds, string text, Brush highlightBrush, IList<CharacterRange> substringRanges )
Parameters
- graphics
- font
- stringFormat
- foreBrush
- bounds
- text
- highlightBrush
- substringRanges